<div class="category-expenses-box" id="category-expenses-{{ category.id }}">
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">
                <span>Wydatki dla kategorii: <b>{{ category.name }}</b> </span>
            </h3>
        </div>
        <div class="panel-body">
            <table class="table table-bordered table-padding-budget">
                <tr>
                    <th>Lp.</th>
                    <th>Cena</th>
                    <th>Opis</th>
                    <th>Data</th>
                </tr>
                {% for expense in expenseList %}
                    <tr>
                        <td>{{ loop.index }}.</td>
                        <td>{{ expense.price|number_format(2, '.', ',') }}</td>
                        <td>{{ expense.comment }}</td>
                        <td>{{ expense.date.format('Y-m-d') }}</td>
                    </tr>
                {% endfor %}
            </table>
        </div>
    </div>
</div>
